package cn.sxt.users.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * 菜单的POJO
 * 
 * @author wangshSxt
 *
 */
public class AMenu
{
	private int id;
	private String name;
	private String url;
	private String content;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	
	/* 关联对象 */
	private AMenu parentMenu ; 
	private Set<ARole> roleSet = new HashSet<ARole>();
	
	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getPubTime()
	{
		return pubTime;
	}

	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}

	public AMenu getParentMenu()
	{
		return parentMenu;
	}

	public void setParentMenu(AMenu parentMenu)
	{
		this.parentMenu = parentMenu;
	}

	public Set<ARole> getRoleSet()
	{
		return roleSet;
	}

	public void setRoleSet(Set<ARole> roleSet)
	{
		this.roleSet = roleSet;
	}

}
